home *** CD-ROM | disk | FTP | other *** search
/ Acorn Risc Technologies StrongARM CD-ROM / Acorn Risc Technologies StrongARM CD-ROM.iso / ftp / documents / appnotes / 016_030 / 021c / Text
Encoding:
Text File  |  1993-08-02  |  2.6 KB  |  58 lines

  1. -----------------------------------------------------------------------------
  2. 9th July 1992
  3. -----------------------------------------------------------------------------
  4. Support Group Application Note
  5. Number: 021
  6. Issue: 1
  7. Author:
  8. -----------------------------------------------------------------------------
  9.  
  10. Connecting Joysticks To The BBC Micro
  11.  
  12. -----------------------------------------------------------------------------
  13. Applicable Hardware: BBC B
  14.                      BBC B+
  15.                      
  16. Related Application Notes:
  17.  
  18.  
  19. -----------------------------------------------------------------------------
  20. Copyright (C) Acorn Computers Limited 1992
  21.  
  22. Every effort has been made to ensure that the information in this leaflet is 
  23. true and correct at the time of printing. However, the products described in
  24. this leaflet are subject to continuous development and improvements and
  25. Acorn Computers Limited reserves the right to change its specifications at
  26. any time. Acorn Computers Limited cannot accept liability for any loss or
  27. damage arising from the use of any information or particulars in this
  28. leaflet. ACORN, ECONET and ARCHIMEDES are trademarks of Acorn Computers
  29. Limited.
  30. -----------------------------------------------------------------------------
  31. Support Group
  32. Acorn Computers Limited
  33. Acorn House
  34. Vision Park
  35. Histon
  36. Cambridge       CB4 4AE
  37. -----------------------------------------------------------------------------
  38.  
  39. On the rear panel of the BBC Micro an Analogue port is provided for
  40. customers who wish to interface various peripherals to their machines, the
  41. most common of which are Joysticks or Games Paddles.
  42.  
  43. The circuit diagram shows a view of the 15 way 'D' type connector seen from
  44. the outside of the machine, along with the connections for the four
  45. potentiometers and two fire buttons needed to configure a pair of joysticks.
  46.  
  47. The potentiometers shown in the diagram should be of approximately 10k in
  48. value and the fire buttons are simple switches which are open when at rest.
  49. The actual construction of the joystick itself is entirely at the users
  50. discretion but it is recommended that they are self centering.
  51.  
  52. To enable the use of the joysticks a full understanding of the "ADVAL"
  53. command is necessary, this is detailed on page 202 of the User Guide. There
  54. are also four OSBYTE calls that are used whilst reading from the ADC, these
  55. are OSBYTES &80, &BC, &BD and &BE (page 418 BBC User Guide). Only the first
  56. of these calls is documented in the User Guide, the other three enable you
  57. to read the ADC channel NO., read the maximum ADC channel No, and read the
  58. ADC conversion type, either 12 or 8 bits respectively.